An Optimal Data Structure for
نویسنده
چکیده
We present a data structure that allows to preprocess a rectilinear polygon with n vertices such that, for any two query points, the shortest path in the rectilinear link or L 1-metric can be reported in time O(log n + k) where k is the link length of the shortest path. If only the distance is of interest, the query time reduces to O(log n). Furthermore, if the query points are two vertices, the distance can be reported in time O(1) and a shortest path can be constructed in time O(1 + k). The data structure can be computed in time O(n) and needs O(n) storage. As an application we present a linear time algorithm to compute the diameter of a simple rectilinear polygon w.r.t. the L 1-metric.
منابع مشابه
A New Parallel Matrix Multiplication Method Adapted on Fibonacci Hypercube Structure
The objective of this study was to develop a new optimal parallel algorithm for matrix multiplication which could run on a Fibonacci Hypercube structure. Most of the popular algorithms for parallel matrix multiplication can not run on Fibonacci Hypercube structure, therefore giving a method that can be run on all structures especially Fibonacci Hypercube structure is necessary for parallel matr...
متن کاملMULTI-OBJECTIVE OPTIMAL DESIGN OF SATMD INCLUDING SOIL-STRUCTURE INTERACTION USING NSGA-II
In this paper, a procedure has been introduced to the multi-objective optimal design of semi-active tuned mass dampers (SATMDs) with variable stiffness for nonlinear structures considering soil-structure interaction under multiple earthquakes. Three bi-objective optimization problems have been defined by considering the mean of maximum inter-story drift as safety criterion of structural compone...
متن کاملPERFORMANCE BASED OPTIMAL SEISMIC DESIGN OF RC SHEAR WALLS INCORPORATING SOIL–STRUCTURE INTERACTION USING CSS ALGORITHM
In this article optimal design of shear walls is performed under seismic loading. For practical aims, a database of special shear walls is created. Special shear walls are used for seismic design optimization employing the charged system search algorithm as an optimizer. Constraints consist of design and performance limitations. Nonlinear behavior of the shear wall is taken into account and per...
متن کاملOptimized computational Afin image algorithm using combination of update coefficients and wavelet packet conversion
Updating Optimal Coefficients and Selected Observations Affine Projection is an effective way to reduce the computational and power consumption of this algorithm in the application of adaptive filters. On the other hand, the calculation of this algorithm can be reduced by using subbands and applying the concept of filtering the Set-Membership in each subband. Considering these concepts, the fir...
متن کاملSEMI-ACTIVE NEURO-CONTROL FOR MINIMIZING SEISMIC RESPONSE OF BENCHMARK STRUCTURES
This article presents numerical studies on semi-active seismic response control of structures equipped with Magneto-Rheological (MR) dampers. A multi-layer artificial neural network (ANN) was employed to mitigate the influence of time delay, This ANN was trained using data from the El-Centro earthquake. The inputs of ANN are the seismic responses of the structure in the current step, and the ou...
متن کاملOptimal Operation of a Three-Product Dividing-Wall Column with Self-Optimizing Control Structure Design
This paper deals with optimal operation of a three-product Dividing-Wall Column (DWC). The main idea is to design a control structure, through a systematic procedure for plantwide control, with an objective to achieve desired product purities with the minimum use of energy. Exact local method is used to find the best controlled variables as single measurement or combination of measurements ...
متن کامل